package com.cqie.practicaltraining.service;

import com.cqie.practicaltraining.config.result.R;
import com.cqie.practicaltraining.domain.Users;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqie.practicaltraining.dto.AddUserDto;
import com.cqie.practicaltraining.dto.SelectDto;
import com.cqie.practicaltraining.dto.UpdateUserDto;
import com.cqie.practicaltraining.dto.UserDto;

/**
* @author 9977
* @description 针对表【user(用户表)】的数据库操作Service
* @createDate 2024-12-26 10:47:28
*/
public interface UserService extends IService<Users> {
    R login(UserDto user);
    R logout();
    R getCurrentUser();
    R addUser(AddUserDto addUserDto);
    R getUserPageByCondition(SelectDto selectDto);
    R updateUser(UpdateUserDto updateUserDto);
    R changeUserStatus(Integer userId);
}
